//
//  HYFNewViewVC.m
//  hyf-BaiSi
//
//  Created by Bill on 14/6/16.
//  Copyright © 2016年 hyf. All rights reserved.
//

#import "HYFNewViewVC.h"

@implementation HYFNewViewVC

-(void)viewDidLoad{
    [super viewDidLoad];

    [self SetnaviGaTionBatBut];

}



//给自控制器添加按钮
-(void)SetnaviGaTionBatBut{

    self.navigationItem.leftBarButtonItem=[UIBarButtonItem itemWithImage:[UIImage imageNamed:@"MainTagSubIcon"] highImage:[UIImage imageNamed:@"MainTagSubIconClick"] target:self action:@selector(btnClick)];
    
    self.navigationItem.titleView=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"MainTitle"]];


}

//左边按钮监听的方法
-(void)btnClick{


    NSLog(@"点击了按钮");

}
@end
